<?php
namespace Home\Controller;
use Think\Controller;
class ArticleController extends BaseController {
    public function article(){
		//文章内容
		$aid = I('aid');
		$article = M('article');
		$anArticleRes = $article->select($aid);
		$this->anArticle = $anArticleRes[0];	//$anArticleRes为二维数组，切记切记
		$this->display('article');
    }
}